/**
 * 购物车接口
 */

import { request } from "../utils/request"

export const cartDelete = (params) => {
    return request({
        url: "/api/cart/delete",
        data: params
    })
}
export const cartQuery = () => {
    return request({
        url: "/api/cart/query",
        method: "GET"
    })
}
export const cartUpdate = (params) => {
    return request({
        url: "/api/cart/update",
        data: params
    })
}
